package com.eastelsoft.smartiot.bssserver.model;

/**
 * create by xuym
 *  20180514
 */
public class IndustryInfo {
        private String  id;
        private String name;

    public IndustryInfo(String name) {
        this.name = name;
    }

    public IndustryInfo() {
    }

        @Override
        public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;

            IndustryInfo industryInfo = (IndustryInfo) o;

        return name != null ? name.equals(industryInfo.name) : industryInfo.name == null;
    }

        @Override
        public int hashCode() {
        return name != null ? name.hashCode() : 0;
    }

        public String getId() {
        return id;
    }

        public void setId(String id) {
        this.id = id;
    }

        public String getName() {
        return name;
    }

        public void setName(String name) {
        this.name = name;
    }
}
